<!--WSTAG name="prog_suivant" -->

<script type="text/javascript">
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#form").validationEngine({autoHidePrompt:true, autoHidePromptDelay:500});
		});

		jQuery(document).ready(function(){
					//Hide div w/id extra
			$("#cadeau").css("display","none");

			// Add onclick handler to checkbox w/id checkme
			$("#giftAbonnement").click(function(){
				// If checked
				if ($("#giftAbonnement").is(":checked"))
				{
					//show the hidden div
					document.forec.cadeauset.value = "x";
					$("#cadeau").show("fast");
					
				}
				else
				{
					//otherwise, hide it
					document.forec.cadeauset.value = "";
					$("#cadeau").hide("fast");
				}
			});
			
			$(".cgv span a").attr("target","_blank");
			
			if($("input[@name='dure']:checked").val()){
				$('#abo_1').attr('checked','checked')
			}
		});
		
</script>


<!--WSTAG name="texte1" -->

<form class="formular" method="post" id="form" action="" name="forec" id="newAbonnement">

  <!--WSTAG name="texte2" -->

  <div class="customerInfo">
	<span class="ident"><!--WSTAG name="ident" --></span>
    <span class="nbart"><!--WSTAG name="nbart" --></span>
  </div>


  <div class="gift">
    <input type="checkbox" id="giftAbonnement" name="abocad" value="ON" />
    <label for="giftAbonnement"><!--WSTAG name="labcadeau" --></label>

  </div>

  <fieldset id="cadeau">
    <div class="full" style="display: inline-block; padding:5px;">
        <input name="civilfx" type="radio" id="civilfx1" value="Mo" checked="checked"><label class="civil" for="civilfx1"><!--WSTAG name="lab-mo" --></label>
        <input name="civilfx" type="radio" id="civilfx2" value="Ma"><label  for="civilfx2" class="civil"><!--WSTAG name="lab-ma" --></label>
        <input name="civilfx" type="radio" id="civilfx3" value="Me"><label  for="civilfx3" class="civil"><!--WSTAG name="lab-me" --></label>
	</div>
	<label>
		<span class="mandatory">*</span> <!--WSTAG name="lab_nom" -->
		<input type="text" id="nomf3" name="nomfx" class="validate[required] text-input">
	</label>
	<label>
		<span class="mandatory">*</span> <!--WSTAG name="lab_prenom" -->
		<input type="text" id="nomf33" name="nomfxx" class="validate[required] text-input">
	</label>
    <div style="display: inline-block;">
	<label>
		<span class="mandatory">*</span> <!--WSTAG name="lab_adresse" -->
		<input type="text" id="adr1f" name="adr1f" class="validate[required] text-input">
		<input name="adr2f" type="text" id="adr2f" class="text-input">
		<input name="adr3f" type="text" id="adr3f" class="text-input">
	</label>
	<div style="width:260px;float:left;">
		<label>
			<span style="width:100%;float:left"><span class="mandatory">*</span><!--WSTAG name="lab_local" --></span>
			<input name="nopostf" type="text" id="nopostf" maxlength="10" class="validate[required,custom[integer]] text-input">
			<input name="localf" type="text" id="localf" maxlength="50" class="validate[required] text-input">
		</label>
	</div>
	<label>
		<span class="mandatory">*</span> <!--WSTAG name="lab_pays" -->
		<select size="1" id="paysf"  name="paysf" class="validate[required]">
        </select>
	</label>
	</div>
	<label>
		<span class="mandatory">*</span> <!--WSTAG name="lab_mail" -->
		<input type="text" id="mailf" name="mailf" class="validate[required,custom[email]] text-input">
	</label>
	<label>
		<!--WSTAG name="lab_tel" -->
		<input type="text" id="telf" name="telf" class="text-input">
	</label>
	<label class="full">
		<input type="checkbox" name="news" id="news" class="checkbox">
		<span class="checkbox"><!--WSTAG name="lab_news" --></span>
	</label>
	</fieldset>


    <!--WSTAG name="entete" -->

    <!--WSTAG name="ligne" -->

  <br />
  <label class="full cgv">
		<input type="checkbox" name="cgv" id="cgv" class="validate[required] checkbox">
		<span class="checkbox"><!--WSTAG name="lab_condvente" --></span>
  </label>
  <br />

  <!--WSTAG name="navigation" -->

  <input type="hidden" name="FRowid" value="?" />
  <input type="hidden" name="LRowid" value="?" />
  <input type="hidden" name="TypeInt" value="?" />
  <input type="hidden" name="cadeauset" value="" />
  <input type="hidden" name="lang" value="10" />
</form>

<!--WSTAG name="erreur" -->


<!--WSTAG name="texte3" -->



